import request from '@/utils/request'

export default {

  // 分页查询讲师
  getTeacherApiPage(page, limit) {
    return request({
      url: `/eduservice/teacherapi/getTeacherFrontList/${page}/${limit}`,
      method: 'post',
    })
  },

  // 根据id查询讲师信息
  getTeacherApiCourse (id) {
    return request({
      url: `/eduservice/teacherapi/getTeacherFrontInfo/${id}`,
      method: 'get'
    })
  },
}

